package com.gc.pojo;

import java.util.List;

public class Page<T> {

    //总条数
    private Long total;
    //当前页码
    private Integer page;
    //每页显示条数
    private Integer size;

    //每页显示内容
    private List<T> pageList;

    //总页数
    private  Long pageTotal;

    public Long getPageTotal() {
        return pageTotal;
    }

    public void setPageTotal(Long pageTotal) {
        this.pageTotal = pageTotal;
    }

    public Long getTotal() {
        return total;
    }

    public void setTotal(Long total) {
        this.total = total;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public List<T> getPageList() {
        return pageList;
    }

    public void setPageList(List<T> pageList) {
        this.pageList = pageList;
    }
}
